home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / plaf / basic / BasicFileChooserUI$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  939 b   |  31 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import javax.swing.JButton;
  4. import javax.swing.JComponent;
  5. import javax.swing.event.AncestorEvent;
  6. import javax.swing.event.AncestorListener;
  7.  
  8. final class BasicFileChooserUI$1 implements AncestorListener {
  9.    // $FF: synthetic field
  10.    private final BasicFileChooserUI this$0;
  11.  
  12.    // $FF: synthetic method
  13.    BasicFileChooserUI$1(BasicFileChooserUI var1) {
  14.       this.this$0 = var1;
  15.    }
  16.  
  17.    public void ancestorAdded(AncestorEvent var1) {
  18.       JButton var2 = this.this$0.getApproveButton(this.this$0.getFileChooser());
  19.       if (var2 != null) {
  20.          ((JComponent)var2).requestFocus();
  21.       }
  22.  
  23.    }
  24.  
  25.    public void ancestorMoved(AncestorEvent var1) {
  26.    }
  27.  
  28.    public void ancestorRemoved(AncestorEvent var1) {
  29.    }
  30. }
  31.